from django.urls import re_path

from users import views

urlpatterns = [
    re_path(r'^api/v1.0/user/name$', views.UserNameChangeView.as_view()),
    re_path(r'^api/v1.0/user/auth$', views.Id_CardView.as_view()),
    re_path(r'^api/v1.0/user/avatar$',views.ImagePutView.as_view()),
    re_path(r'^api/v1.0/user$',views.UserInfoView.as_view()),
    re_path(r'^api/v1.0/users$',views.RegisterView.as_view()),
    re_path(r'^api/v1.0/session$',views.LoginLogoutView.as_view()),
]